import { createAuthURL, IAuthURL } from './auth-url'
import { createClientURL, IClientURL } from './client-url'
import { createCourseURL, ICourseURL } from './course-url'
import { createMessageURL, IMessageURL } from './message'
import { createUserURL, IUserURL } from './user-url'

export interface IServiceURL {
  client: IClientURL
  auth: IAuthURL
  user: IUserURL
  course: ICourseURL
  message: IMessageURL
}

export function createServiceURL(): IServiceURL {
  return {
    client: createClientURL(),
    auth: createAuthURL(),
    user: createUserURL(),
    course: createCourseURL(),
    message: createMessageURL()
  }
}
